package etnorservice.etnor_service.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * Created with IntelliJ IDEA.
 *
 * @Author: cc
 * @Date: 2025/03/24/12:50
 **/
@Data
@TableName("tb_user")
public class UserDomain implements Serializable {
    @TableId(type = IdType.AUTO)  // 修改为自增策略
    private Integer id;
    private String username;
    private String account;
    private String password;
    private Integer status;
    private String email;
    private Date updatetime;
    private String role;  // 0-超级管理员，1-普通用户
    private String bkUrl;
    private String avaterUrl;
    private String nickname;
}
